<script setup>
import { ref } from 'vue'

let props = defineProps(['entityDataItem'])
let entityDataItem = props.entityDataItem
</script>


<template>
    <div class="box">
        <div class="bg-box"></div>
        <div class="li1">
            <p>{{ entityDataItem.field11 }}</p>
            <img :src="entityDataItem.image0" alt="">
        </div>
    </div>
</template>


<style scoped>
.box {
    width: 100%;
    height: 16rem;
    display: flex;
    background: #ffffff;
    box-shadow: 0.2rem 0.2rem 0.3rem #d9d9d9,
        -0.2rem -0.2rem 0.3rem #ffffff;
    margin-bottom: 0.4rem;
    border-radius: 0.3rem;
    overflow: hidden;
    padding: 0.2rem 0.6rem;
    padding-left: 1rem;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.bg-box {
    width: 100%;
    height: 100%;
    background-color: rgb(252, 111, 31);
    position: absolute;
    top: -34%;
    z-index: 2;
    border-radius: 1.5rem;
}

.li1 {
    width: 50%;
    height: 50%;
    z-index: 3;
    margin-top: 2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    align-items: center;
}

.li1>p {
    width: 100%;
    font-size: 1.4rem;
    color: white;
}

.li1>img {
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    margin-top: 0.6rem;
}
</style>
